<%--
 *  File:    OrgCopyFrm.jsp
 *  @Author: KentZhong
 *  Date:    3/3/2005 5:19PM

 *  Copyright (C) 2000 - 2005 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>
<%@ page import="com.oval.util.*" %>

<%@ page contentType ="text/html;charset=UTF-8" %>

<%
  Category cat = Category.getInstance("jsp.OrgCopyFrm");
  String strModuleName = "IMG";
  String privilegeCode = "Z0821";
%>


<%@include file="/inc/Security.inc"%>
<%@include file="/inc/FrmDefault.inc"%>
<%
  String strID=request.getParameter("orgcopyid");
  String strIsNew=request.getParameter("isnew");
  String strDownPage="";
  String strUpPage="";
  if("Y".equals(strIsNew))
  {
    strDownPage="OrgCopyEdit.jsp?"+OvalTools.randomURL() +"&isnew=Y";
    strUpPage="OrgCopyHeader.jsp?"+OvalTools.randomURL() +"&isnew=Y";
  }
  else
  {
    if(strID==null && session.getAttribute("orgcopyid")!=null)
    {
      strID=session.getAttribute("orgcopyid").toString();
      session.removeAttribute("orgcopyid");
    }
    if(strID!=null)
    {
      strDownPage="OrgCopyEdit.jsp?"+OvalTools.randomURL() +"&orgcopyid="+strID;
      strUpPage="OrgCopyHeader.jsp?"+OvalTools.randomURL() +"&orgcopyid="+strID;
    }
  }
%>
<html>
<head>
<title>OrgCopyFrm</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<frameset rows="77,*" frameborder="YES" border="1" framespacing="1" cols="*" bordercolor="#999999">
  <frame name="up" src="<%=JspHelper.filterNull(strUpPage )%>" frameborder="NO" scrolling="NO">
  <frame name="down" src="<%=JspHelper.filterNull(strDownPage)%>" scrolling="yes" frameborder="NO" noresize >
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>


